<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator" >

<f:view>
<f:loadBundle var="text" basename="#{jbqkForm.bundleName}"/>
    <head>
        <title>#{text['reportDetail.title']}</title>       
          <link rel="stylesheet" type="text/css" href="/corpcredit/styles/tipstyle/tips.css" />     
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="reportListForm">
<h:form id="reportListForm">


<div class="reportdiv" >#{text['reportDetail.title']}</div>

<t:dataTable id="reports" var="report" style="margin-top: 10px"
    value="#{reportListForm.reports}" rows="25" 
    styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

  
      <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gendate" >
                <h:outputText value="#{text['report.gendate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{report.gendate}" escape="true"/>
    </t:column>

   
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="name" arrow="true">
                <h:outputText value="#{text['report.name']}" />
            </t:commandSortHeader>
        </f:facet>
   
<h:outputLink
 value="/corpcredit/credit/report/2008_09_17_10_50_01.doc">
  <f:verbatim >完整报表</f:verbatim>
</h:outputLink>
    </t:column>
    
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="reports"/>
</ui:include>


<h:panelGroup styleClass="buttonBar bottom">
    <h:commandButton value="#{text['button.genword']}" onclick="alert('report gened');location.href='reportListForm.html';return true;" action="#{reportListForm.genword}" id="genword" styleClass="button"/>
</h:panelGroup>



</h:form>

<script type="text/javascript">
    highlightFormElements();
</script>
</body>
</f:view>
</html>

<!--

<h:commandLink id="link"  hreflang="/corpcredit/report/2008_09_17_10_50_01.doc">
  <h:outputText value="view_report"/>
</h:commandLink>


-->